<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>{$title} - Salvador</title>
	<meta name='keywords' content='{$keywords|escape:'quotes'}'>
	<meta name='description' content='{$descr|escape:'quotes'}'>
	<link href="/css/all.css" type="text/css" rel="stylesheet" />
	<!--[if lt IE 8]><link rel="stylesheet" type="text/css" href="/css/ie.css" media="screen"/><![endif]-->
	<script type="text/javascript" src="/js/jquery.min.js"></script>
	<script type="text/javascript" src="/js/jquery-ui.min.js"></script>
	<script type="text/javascript" src="/js/gallery.js"></script>
	<script type="text/javascript" src="/js/swfobject.js"></script>
</head>
<body>
	<div id='overlay'></div>

	<div class="page">
	
		<div id='slide' class='round-corners'> 
			<a href='#' id='hideGallery' onclick="hideGallery(); return false;" title='Закрыть'></a>
			<a href='#' id='img-prev' class='img-prev' onclick="showGallery(galleryIndex-1); return false;" title='Предыдущая'></a>
			<a href='#' id='img-next' class='img-next' onclick="showGallery(galleryIndex+1); return false;" title='Следующая'></a>
			<img class='round-corners'> 
		</div>
		
		<div id="wrapper">
			<div id="header">
				<div id='phones'>
					<div id="ya-phone-1">+7 (495) 943-88-16</div>
					<div>+7 (910) 487-83-33</div>
					<div>+7 (916) 413-64-09</div>
					<div>+7 (916) 406-09-06</div>
				</div>
				<strong class="logo"><a href="/">Salvador</a></strong>
				<ul id="nav">
					{include file="main_menu.tpl"}
				</ul>
			</div>
			<div id="main">
				<div class="main-holder">
					<div class="main-frame">
						<div class="content-holder">
							<div class="content">
								{if $crumbs|count}
								<div class="breadcrumbs">
									<ul>
										{if $smarty.server.SCRIPT_NAME != '/product.php'}
											{foreach $crumbs as $crumb}
												{if !$crumb@last}
													<li><a href="{$crumb.link}">{$crumb.name}</a>{if $crumb@index < $crumb@total-2} / {/if}</li>
												{/if}
											{/foreach}
										{/if}
									</ul>
								</div>
								{/if}
								<h1>{$name}</h1>
								{include file=$tpl}
							</div>
						</div>
					</div>
				</div>
				<div class="main-b"></div>
				<div class="stamp-box">
					<img src="/images/stamp.png" alt="" width="226" height="223" class="png" />
				</div>
			</div>
			<div id="footer">
				<p class="copyright">&copy; 2014. Компания Сальвадор</p>
				<dl class="seadesigh">
					<dt>Создание сайта</dt>
					<dd><a href="http://www.seadesign.ru">SeaDesign</a></dd>
				</dl>
			</div>
		</div>
		<img src="/images/top.png" alt="" class="bg-body1" />
		<img src="/images/bottom.png" alt="" class="bg-body2" />
		<img src="/images/page.png" alt="" class="bg-body3" />
	</div>
	
	{literal}
	<!-- Yandex.Metrika counter -->
	<script type="text/javascript">
	(function (d, w, c) {
	    (w[c] = w[c] || []).push(function() {
	        try {
	            w.yaCounter19554547 = new Ya.Metrika({id:19554547,
	                    webvisor:true,
	                    clickmap:true,
	                    trackLinks:true,
	                    accurateTrackBounce:true});
	        } catch(e) { }
	    });

	    var n = d.getElementsByTagName("script")[0],
	        s = d.createElement("script"),
	        f = function () { n.parentNode.insertBefore(s, n); };
	    s.type = "text/javascript";
	    s.async = true;
	    s.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//mc.yandex.ru/metrika/watch.js";

	    if (w.opera == "[object Opera]") {
	        d.addEventListener("DOMContentLoaded", f, false);
	    } else { f(); }
	})(document, window, "yandex_metrika_callbacks");
	</script>
	<noscript><div><img src="//mc.yandex.ru/watch/19554547" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
	<!-- /Yandex.Metrika counter -->
	
	<!-- Yandex.Metrika Marked Phone -->
	<script type="text/javascript" src="//mc.yandex.ru/metrika/phone.js?counter=19554547" defer="defer"></script>
	<!-- /Yandex.Metrika Marked Phone -->
	{/literal}
</body>
</html>